Use PEIsPrintJobFinished to monitor the print job to see if it is finished or still in progress. You can use this function any time you have a call that is contingent on a print job being finished.
BOOL CRPE_API PEIsPrintJobFinished (
short printJob );
Specifies the print job that you want to query to determine if it has finished printing. |
PEIsPrintJobFinished will return TRUE immediately after the report has been displayed in the preview window, even if that preview window is still open.
Declare Function PEIsPrintJobFinished Lib "crpe32.dll" (ByVal printJob _
As Integer) As Integer
function PEIsPrintJobFinished (
printJob: Word
): Bool stdcall;
EXTERN CLOGICAL PEIsPrintJobFinished (CWORD) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |